/*CSS盒模型*/
/*flex布局*/
/*iframe内联框架（不常用，只需了解）*/

*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #f5f5f5;
    line-height: 1;
}
.clearfix::before,
.clearfix::after{
    content: '';
    display: table;
}

.clearfix::after{
    clear: both;
}

#a_001{
    font-size: 30px;
}

#a_002{
    font-weight: 700;
}

#a_003{
    font-style: italic;
}

#a_004{
    font-family: 隶书,楷体,宋体,sans-serif;
}

#a_005{
    font: italic 700 30px 宋体,楷体,隶书,sans-serif;
}

#a_006{
    text-indent: 2em;
}

#a_007{
    text-decoration: none;
}

.father{
    width: 400px;
    height: 400px;
    background-color: skyblue;
    text-align: center;
    margin: 0 auto;
  
}

.son{
    width: 100px;
    height: 100px;
    background-color: orange;
    margin: 0 auto;
}

#box-1{
    line-height: 100px;
}

#box-2{
    line-height: 400px;
    width: 1000px;
    height: 400px;
    background-color: skyblue;
    text-align: center;
    margin: 0 auto;
}

.payMoreAttention{
    background-color: #ffcccc;
    margin: 10px 0;
}

.father01 p{
    color:red
}

.father02>p{
    color:red
}

.bingJi01,.bingJi02{
    color: red;
}
#a_007:hover{
    color: orange;
    text-decoration: underline;
}

.father:hover{
    background-color: #ffcccc;
    width: 800px;
}

.box01{
    background-image: url('./image01.png');
    width: 800px;
    height: 400px;
}

.box02{
    background-color: blue;
    background-image: url('./image01.png');
    width: 500px;
    height: 500px;
    background-repeat: no-repeat;
}

.box03{
    background-color: pink;
    background-image: url('./image01.png');
    width: 500px;
    height: 500px;
    background-repeat: no-repeat;
    background-position: center center;
}

.link01{
    background-color: #f5f5f5;
    text-decoration: none;
    color: black;
    width: 100px;
    height: 60px;
    display: inline-block;
    line-height: 60px;
    text-align: center;
}

.link01:hover{
    background-color: #ffcccc;
}

.box04{
    width: 400px;
    height: 400px;
    background-color: #ffcccc;
    border-top: 4px solid red;
    border-left: 4px solid red;
}

.box05{
    height: 40px;
    border-top: 3px solid #ff8500;
    border-bottom: 1px solid #edeef0;
}

.box05 a{
    height: 40px;
    text-decoration: none;
    display: inline-block;
    line-height: 40px;
    color: #4c4c4c;
    text-align: center;
    font-size: 12px;
    padding: 0px 20px;
}

.box05 a:hover{
    background-color: #f5f5f5;
    color: #ff8500;
    background-color: #edeef0;
}

.box06 {
    width: 300px;
    height: 300px;
    background-color: pink;
    border: 10px solid #000;
    padding: 20px;
    box-sizing: border-box;
}

.box07{
    width: 500px;
    height: 400px;
    border: 1px solid #cccccc;
    padding: 40px 30px 0;
    box-sizing: border-box;
}

.box07 h2{
    height: 40px;
    border-bottom: 1px solid #cccccc;
    box-sizing: border-box;
    font-size: 30px;
}

.box07 ul{
    list-style: none;
}

.box07 ul li{
    border-bottom: 1px dashed #cccccc;
    height: 50px;
    line-height: 50px;
}

.box07 li a{
    text-decoration: none;
    color: #666;
    font-size: 18px;
}

.box08{
    margin: 20px;
}

.box09{
    background-color: pink;
    height: 100px;
    display: inline-block;
    line-height: 100px;
    text-align: center;
    margin-right: 20px;
}

.box10{
    background-color: skyblue;
    height: 100px;
    display: inline-block;
    line-height: 100px;
    text-align: center;
    margin-left: 30px;
}

.box11{
    background-color: pink;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-bottom: 20px;
}

.box12{
    background-color: skyblue;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-top: 30px;
}

.box13{
    background-color: pink;
    height: 200px;
    width: 200px;
}

.box13_son{
    background-color: skyblue;
    height: 50px;
    width: 50px;
    margin-top: 50px;
}

.box14{
    background-color: pink;
    height: 200px;
    width: 200px;
    border-top: 1px solid #000000;
}

.box14_son{
    background-color: skyblue;
    height: 50px;
    width: 50px;
    margin-top: 50px;
}

.box15{
    background-color: pink;
    height: 200px;
    text-align: center;
    overflow: hidden
}

.box15_son{
    background-color: skyblue;
    height: 50px;
    width: 50px;
    margin-top: 30px;
}

.box16{
    background-color: pink;
    height: 200px;
    width: 200px;
    display: inline-block;
}

.box16_son{
    background-color: skyblue;
    height: 50px;
    width: 50px;
    margin-top: 30px;
}

.box17{
    background-color: pink;
    height: 200px;
    width: 200px;
    float: left;
}

.box17_son{
    background-color: skyblue;
    height: 50px;
    width: 50px;
    margin-top: 30px;
}

.box18::before{
    content: "此处是伪元素的内容";
    background-color: skyblue;
    width: 100px;
    height: 100px;
    display: block;
}

.box18{
    background-color: pink;
    width: 300px;
    height: 300px;
}

.img01{
    float: left;
    margin-right: 20px;
}

.box19{
    float: left;
    background-color: pink;
    width: 200px;
    height: 200px;
}

.box20{
    float: right;
    background-color: skyblue;
    width: 200px;
    height: 200px;
}

.header{
    height: 40px;
    background-color: #333;
}
.box21{
    background-color: #ffc0cb;
    width: 1226px;
    height: 100px;
    margin: 0 auto;
    
}

.box22{
    width: 1226px;
    height: 460px;
    margin: 0 auto;
    
}

.box23{
    background-color: #ffa500;
    width: 234px;
    height: 460px;
    float: left;
}

.box24{
    background-color: #87ceeb;
    width: 992px;
    height: 460px;
    float: left;
}

.box25{
    width: 1226px;
    height: 614px;
    margin: 0 auto;

}

.box26{
    background-color: #800080;
    width: 234px;
    height: 614px;
    float: left;
}

.box27{
    width: 978px;
    height: 614px;
    float: right;
}

.box28{
    background-color: #87ceeb;
    width: 234px;
    height: 300px;
    float: left;
    margin-right: 14px;
    margin-bottom: 14px;
}

.box28:nth-child(4n){
    margin-right: 0;
}

.box28:nth-child(n+5){
    margin-bottom: 0;
}

ul li{
    float: left;
    list-style: none;
}
.float01 li a{
    float: left;
    width: 80px;
    height: 50px;
    background-color: #ffc0cb;
    text-decoration: none;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
}

.float01 li a:hover{
    background-color: #008000;
}

.box29{
    width: 400px;
    background-color: pink;
}

.box29_son{
    float: left;
    width: 100px;
    height: 400px;
    background-color: skyblue;
}

.box30{
    background-color: skyblue;
    margin: 0 0 20px 0;
}

.box31{
    background-color: pink;
    width: 200px;
    height: 200px;
}

.box32{
    background-color: palevioletred;
    width: 200px;
    height: 200px;
    position: absolute;
    left: 100px;
    bottom: 0;
}

.box33{
    background-color: pink;
    width: 400px;
    height: 400px;
    position: relative
}

.box33_son{
    background-color: skyblue;
    width: 100px;
    height: 100px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.box34{
    background-color: pink;
    width: 400px;
    height: 400px;
    position: relative
}

.box34_son{
    background-color: #fff;
    width: 40px;
    height: 20px;
    position: absolute;
    right: -4px;
    top: 4px;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    color: orange;
    border: 4px solid orange;
}

.box35{
    background-color: pink;
    width: 400px;
    height: 200px;
    position: relative
}

.box35 div{
    background-color: skyblue;
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.box36 ul{
    height: 40px;
    width: 800px;
    border-bottom: 1px solid #000;
    margin: 0 auto;
}

.box36 a{
    display: block;
    width: 100px;
    height: 40px;
    border-right: 1px solid #000;
    text-align: center;
    line-height: 40px;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    position: relative;
    
}

.box36_son_son{
    width: 80px;
    height: 80px;
    background-color: gray;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    text-align: center;
    line-height: 80px;
    border: 1px solid #333;
    display: none;
}

.shouJiWeiJinSuo:hover .box36_son_son{
    display: block;
}

.box37{
    width: 1226px;
    height: 600px;
    background-color: skyblue;
    margin: 0 auto;
    position: relative;
}

.box37_son{
    height: 150px;
    width: 1226px;
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    left: 0;
    bottom: 0;
}

.img02{
    position: fixed;
    right: 0;
    top: 0;
}

.box38{
    background-color: #eee;
    width: 800px;
    height: 600px;
    position: relative
}
.box38-red{
    width: 300px;
    height: 300px;
    background-color: red;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; 
}

.box38-blue{
    width: 300px;
    height: 300px;
    background-color: blue;
    position: absolute;
    top: 100px;
    left: 100px;
    z-index: 2;
}

.box38-green{
    width: 300px;
    height: 300px;
    background-color: green;
    position: absolute;
    top: 200px;
    left: 200px;
    z-index: 999;
}

.input01{
    height: 40px;
    vertical-align: top;
    box-sizing: border-box;
}

.img03{
    vertical-align: bottom;
}

.box39{
    background-color: pink;
    width: 400px;
}

.box39 img{
    vertical-align: bottom;
}

.box40{
    background-color: pink;
    width: 600px;
    height: 600px;
    line-height: 600px;
}

.box40 img{
    vertical-align: middle;
}

.box41-default{
    background-color: skyblue;
    width: 200px;
    height: 200px;
    cursor: default;
    margin-bottom: 10px;
}

.box41-pointer{
    background-color: skyblue;
    width: 200px;
    height: 200px;
    cursor: pointer;
    margin-bottom: 10px;
}

.box41-text{
    background-color: skyblue;
    width: 200px;
    height: 200px;
    cursor: text;
    margin-bottom: 10px;
}

.box41-move{
    background-color: skyblue;
    width: 200px;
    height: 200px;
    cursor: move;
    margin-bottom: 10px;
}

.box42{
    background-color: skyblue;
    width: 200px;
    height: 200px;
    border-radius: 20px;
}

.box43{
    background-color: skyblue;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.box44{
    background-color: skyblue;
    width: 100px;
    height: 40px;
    border-radius: 20px;
    font-size: 15px;
    text-align: center;
    line-height: 40px;
}

.box45-visible{
    width: 400px;
    height: 80px;
    background-color: #ccc;
    overflow: visible;
}

.box45-hidden{
    width: 400px;
    height: 80px;
    background-color: #ccc;
    overflow: hidden;
}

.box45-scroll{
    width: 400px;
    height: 80px;
    background-color: #ccc;
    overflow: scroll;
}

.box45-auto{
    width: 400px;
    height: 80px;
    background-color: #ccc;
    overflow: auto;
}

.box46{
    width: 400px;
    height: 400px;
    background-color: pink;
}

.box46-son{
    width: 100px;
    height: 100px;
    background-color: skyblue;
    display: none;
}

.box46:hover .box46-son{
    display: block;
}

.box47{
    width: 0;
    height: 0;
    border-bottom: 200px solid skyblue;
    border-top: 100px solid transparent;
    border-right: 100px solid transparent;
    border-left: 100px solid transparent;

}

.link02:link{
    color: red;
}
.link02:visited{
    color: grey;
}

.link02:hover{
    color: blue;
}

.link02:active{
    color: skyblue;
}

.input02:focus{
    background-color: #eee;
}
.ol01 li{
    line-height: 50px;
    background: skyblue;
}

.ol01 div:nth-of-type(1){
    width: 300px;
    height: 200px;
    border: 1px solid #000;
    background: url('image01.png') no-repeat;
    background-size: 90px 130px;
}

.ol01 div:nth-of-type(2){
    width: 300px;
    height: 200px;
    border: 1px solid #000;
    background: url('image01.png') no-repeat;
    background-size: 50% 60%;
}

.ol01 div:nth-of-type(3){
    width: 300px;
    height: 200px;
    border: 1px solid #000;
    background: url('image01.png') no-repeat;
    background-size: contain;
}

.ol01 div:nth-of-type(4){
    width: 300px;
    height: 200px;
    border: 1px solid #000;
    background: url('image01.png') no-repeat;
    background-size: cover;
}

.box48{
    color: #000;
    font-size: 50px;
    text-shadow: 10px -20px 3px skyblue;
}

.box49{
    height: 150px;
    width: 200px;
    background-color: skyblue;
    box-shadow: 10px -20px 3px grey;
}

.box50{
    width: 200px;
    height: 200px;
    background-color: skyblue;
    transition: all 1s;
}

.box50:hover{
    background-color: pink;
    width: 400px;
}